#!/usr/bin/env python
# -*- coding: utf-8 -*-


import rospy
from std_msgs.msg import Int8

def BulletLeftPublisher():
	# ROS节点初始化
    rospy.init_node('BulletLeft', anonymous=True)
    person_info_pub = rospy.Publisher('/BulletLeft', Int8, queue_size=10)
	#设置循环的频率
    rate = rospy.Rate(1) 

    while not rospy.is_shutdown():
		# 初始化learning_topic::Person类型的消息
    	
		# 发布消息
        person_info_pub.publish()

		# 按照循环频率延时
        rate.sleep()

if __name__ == '__main__':
    try:
        BulletLeftPublisher()
    except rospy.ROSInterruptException:
        pass
